import React, { PureComponent, Fragment } from 'react';

import {
    Row, Col, Card, Form, Input,
    Select,
    InputNumber
} from 'antd';
const { Option } = Select;
const { TextArea } = Input;


@Form.create()
export default class BusinessImportDetails extends PureComponent {
    state = {
    };

    componentDidMount() {
    }


    status = [
        { key: '0', value: "未上报" },
        { key: '10', value: "等待审批" },
        { key: '11', value: "审批进行中" },
        { key: '12', value: "审批通过" },
        { key: '13', value: "审批拒绝" },
        { key: '14', value: "已放款未补录" },
        { key: '15', value: "已放款已补录" },
        { key: '16', value: "已放款已确认" }
    ]
    renderStatusOption = () => {
        const options = [];
        this.status.map(item => {
            options.push(
                <Option value={item.key} key={item.key}>
                    {item.value}
                </Option>
            );
        });
        return options;
    };

    renderOption = data => {
        // console.log("data", data)
        const { bankNameList, infoList } = data;
        // console.log("bankNameList", bankNameList)
        const options = [];
        if (bankNameList) {
            infoList[bankNameList[0]].map(item => {
                options.push(
                    <Option value={item.userName} key={item.userName}>
                        {item.name}
                    </Option>
                );
            });
            return options;
        }
    };

    render() {
        const status = this.props.status;
        const businessDetails = this.props.businessDetails.baseInfo;
        const riskCustManager = this.props.riskCustManager;
        const disables = this.props.disables;
        const { dispatch } = this.props;
        const { getFieldDecorator } = this.props.form;
        // console.log("riskCustManager", riskCustManager)
        return (//
            <Card bordered={false} >
                <Form layout="vertical"  >
                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="审批状态">
                                {getFieldDecorator('status', {
                                    initialValue: businessDetails.status,
                                })(<Select disabled>
                                    {this.renderStatusOption()}
                                </Select>)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="申请编号">
                                {getFieldDecorator('tradeNo', {
                                    initialValue: businessDetails.tradeNo,
                                })(<Input disabled />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="申请日期">
                                {getFieldDecorator('applyDate', {
                                    initialValue: businessDetails.applyDate,
                                })(<Input disabled />)}
                            </Form.Item>
                        </Col>
                    </Row>
                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="申请人姓名">
                                {getFieldDecorator('aname', {
                                    initialValue: businessDetails.aname,
                                    rules: [{
                                        required: true, message: '请输入姓名',
                                    }],
                                })(<Input placeholder="请输入姓名" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="申请人性别">
                                {getFieldDecorator('asex', {
                                    initialValue: businessDetails.asex,
                                    rules: [{
                                        required: true, message: '请选择性别',
                                    }],
                                })(<Select placeholder="请选择性别" disables={disables}>
                                    <Option value={'1'}>男</Option>
                                    <Option value={'2'}>女</Option>
                                </Select>)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="申请人年龄">
                                {getFieldDecorator('aage', {
                                    initialValue: businessDetails.aage,
                                    rules: [{
                                        required: true, message: '请输入年龄',
                                    }],
                                })(
                                    <Input placeholder="请输入年龄" disables={disables} />
                                )}
                            </Form.Item>
                        </Col>
                    </Row>
                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="申请人户籍情况">
                                {getFieldDecorator('ahuji', {
                                    initialValue: businessDetails.ahuji,
                                    rules: [{
                                        required: true, message: '请输入户籍',
                                    }],
                                })(<Input placeholder="请输入户籍" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="申请人证件类型">
                                {getFieldDecorator('acertType', {
                                    initialValue: businessDetails.acertType,
                                    rules: [{
                                        required: true, message: '请选择证件类型',
                                    }],
                                })(<Select placeholder="请选择证件类型" disables={disables}>
                                    <Option value={'000'}>身份证</Option>
                                </Select>)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="申请人证件号码">
                                {getFieldDecorator('acertNum', {
                                    initialValue: businessDetails.acertNum,
                                    rules: [{
                                        required: true, message: '请输入证件号码',
                                    }],
                                })(<Input placeholder="请输入证件号码" disables={disables} />
                                )}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="申请人家庭地址">
                                {getFieldDecorator('aaddress', {
                                    initialValue: businessDetails.aaddress,
                                    rules: [{
                                        required: true, message: '请输入家庭地址',
                                    }],
                                })(
                                    <Input placeholder="请输入家庭地址" disables={disables} />
                                )}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="申请人工作单位">
                                {getFieldDecorator('acorp', {
                                    initialValue: businessDetails.acorp,
                                    rules: [{
                                        required: true, message: '请输入工作单位',
                                    }],
                                })(<Input placeholder="请输入工作单位" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="申请人电话号码">
                                {getFieldDecorator('aphone', {
                                    initialValue: businessDetails.aphone,
                                    rules: [{
                                        required: true, message: '请输入电话号码',
                                    }],
                                })(
                                    <Input placeholder="请输入电话号码" disables={disables} />
                                )}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="申请年收入">
                                {getFieldDecorator('aincome', {
                                    initialValue: businessDetails.aincome,
                                })(<Input placeholder="请输入申请年收入" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="配偶姓名">
                                {getFieldDecorator('mname', {
                                    initialValue: businessDetails.mname,
                                })(<Input placeholder="请输入配偶姓名" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="配偶电话">
                                {getFieldDecorator('mphone', {
                                    initialValue: businessDetails.mphone,
                                })(<Input placeholder="请输入配偶电话" disables={disables} />)}
                            </Form.Item>
                        </Col>
                    </Row>
                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="配偶证件类型">
                                {getFieldDecorator('mcertType', {
                                    initialValue: businessDetails.mcertType,
                                })(<Select placeholder="请选择证件类型" disables={disables} >
                                    <Option value={'000'}>身份证</Option>
                                </Select>)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="配偶证件号码">
                                {getFieldDecorator('mcertNum', {
                                    initialValue: businessDetails.mcertNum,
                                })(<Input placeholder="请输入配偶证件号码" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="配偶单位">
                                {getFieldDecorator('mcorp', {
                                    initialValue: businessDetails.mcorp,
                                })(<Input placeholder="请输入配偶单位" disables={disables} />)}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="配偶年收入">
                                {getFieldDecorator('mincome', {
                                    initialValue: businessDetails.mincome,
                                })(<Input placeholder="请输入配偶年收入" disables={disables} />)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="担保人姓名">
                                {getFieldDecorator('rname', {
                                    initialValue: businessDetails.rname,
                                })(<Input placeholder="请输入担保人姓名" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="担保人电话">
                                {getFieldDecorator('rphone', {
                                    initialValue: businessDetails.rphone,
                                })(<Input placeholder="请输入担保人电话" disables={disables} />)}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="担保人证件类型">
                                {getFieldDecorator('rcertType', {
                                    initialValue: businessDetails.rcertType,
                                })(<Select placeholder="请选择证件类型" disables={disables}>
                                    <Option value={'000'}>身份证</Option>
                                </Select>)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="担保证件号码">
                                {getFieldDecorator('rcertNum', {
                                    initialValue: businessDetails.rcertNum,
                                })(<Input placeholder="请输入担保证件号码" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="担保人住址">
                                {getFieldDecorator('raddress', {
                                    initialValue: businessDetails.raddress,
                                })(<Input placeholder="请输入担保人住址" disables={disables} />)}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="担保人单位">
                                {getFieldDecorator('rcorp', {
                                    initialValue: businessDetails.rcorp,
                                })(<Input placeholder="请输入担保证单位" disables={disables} />)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="担保人年收入">
                                {getFieldDecorator('rincome', {
                                    initialValue: businessDetails.rincome,
                                })(<Input placeholder="请输入担保人年收入" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="担保人配偶姓名">
                                {getFieldDecorator('sname', {
                                    initialValue: businessDetails.sname,
                                })(<Input placeholder="请输入担保人配偶姓名" disables={disables} />)}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="担保人配偶证件类型">
                                {getFieldDecorator('scertType', {
                                    initialValue: businessDetails.scertType,
                                })(<Select placeholder="请选择证件类型" disables={disables}>
                                    <Option value={'000'}>身份证</Option>
                                </Select>)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="担保人配偶证件号码">
                                {getFieldDecorator('scertNum', {
                                    initialValue: businessDetails.scertNum,
                                })(<Input placeholder="请输入担保人配偶证件号码" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="担保人配偶电话">
                                {getFieldDecorator('sphone', {
                                    initialValue: businessDetails.sphone,
                                })(<Input placeholder="请输入担保人配偶电话" disables={disables} />)}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="担保人配偶单位">
                                {getFieldDecorator('scorp', {
                                    initialValue: businessDetails.scorp,
                                })(<Input placeholder="请输入担保人配偶单位" disables={disables} />)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="担保人配偶年收入">
                                {getFieldDecorator('sincome', {
                                    initialValue: businessDetails.sincome,
                                })(<Input placeholder="请输入担保人配偶年收入" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        {/* <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="担保人配偶电话">
                                {getFieldDecorator('payMoney', {
                                    // initialValue: type == 1 ? null : studentDetails && studentDetails.payMoney,
                                    
                                })(<Input placeholder="请输入担保人配偶电话" />)}
                            </Form.Item>
                        </Col> */}
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="车辆类型">
                                {getFieldDecorator('carBrand', {
                                    initialValue: businessDetails.carBrand,
                                    rules: [{
                                        required: true, message: '请输入车辆类型',
                                    }],
                                })(<Input placeholder="请输入车辆类型" disables={disables} />)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="车架号">
                                {getFieldDecorator('carId', {
                                    initialValue: businessDetails.carId,
                                })(<Input placeholder="请输入担车架号" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="车牌类型">
                                {getFieldDecorator('carNoType', {
                                    initialValue: businessDetails.carNoType,
                                })(<Select placeholder="请选择证件类型" disables={disables}>
                                    <Option value={'0'}>未知</Option>
                                    <Option value={'1'}>蓝牌</Option>
                                    <Option value={'2'}>黄牌</Option>
                                    <Option value={'3'}>其他</Option>
                                </Select>)}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="车牌号">
                                {getFieldDecorator('carNo', {
                                    initialValue: businessDetails.carNo,
                                })(<Input placeholder="请输入车牌号" disables={disables} />)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="保险公司">
                                {getFieldDecorator('insurance', {
                                    initialValue: businessDetails.insurance,
                                    rules: [{
                                        required: true, message: '请选择保险公司',
                                    }],
                                })(<Select placeholder="请选择保险公司" disables={disables}>
                                    <Option value={'中国人民财险'}>中国人民财险</Option>
                                    <Option value={'中国平安财险'}>中国平安财险</Option>
                                    <Option value={'太平洋财险'}>太平洋财险</Option>
                                    <Option value={'中华联合'}>中华联合</Option>
                                    <Option value={'大地财险'}>大地财险</Option>
                                    <Option value={'中国人寿财险'}>中国人寿财险</Option>
                                    <Option value={'阳光财险'}>阳光财险</Option>
                                    <Option value={'天安财险'}>天安财险</Option>
                                    <Option value={'安邦财险'}>安邦财险</Option>
                                    <Option value={'其他'}>其他</Option>
                                </Select>)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="车辆价格">
                                {getFieldDecorator('carPrice', {
                                    initialValue: businessDetails.carPrice,
                                    rules: [{
                                        required: true, message: '请输入车辆价格',
                                    }],
                                })(<Input placeholder="请输入车辆价格" disables={disables} />)}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="首付款">
                                {getFieldDecorator('firstPay', {
                                    initialValue: businessDetails.firstPay,
                                    rules: [{
                                        required: true, message: '请输入首付款',
                                    }],
                                })(<Input placeholder="请输入首付款" disables={disables} />)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="分期卡号">
                                {getFieldDecorator('cardNum', {
                                    initialValue: businessDetails.cardNum,
                                })(<Input placeholder="请输入分期卡号" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="分期金额">
                                {getFieldDecorator('diviAmt', {
                                    initialValue: businessDetails.diviAmt,
                                    rules: [{
                                        required: true, message: '请输入分期金额',
                                    }],
                                })(<Input placeholder="请输入分期金额" disables={disables} />)}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="分期期数">
                                {getFieldDecorator('term', {
                                    initialValue: businessDetails.term,
                                    rules: [{
                                        required: true, message: '请选择分期期数',
                                    }],
                                })(<Select placeholder="请选择分期期数" disables={disables}>
                                    <Option value={'3'}>3</Option>
                                    <Option value={'6'}>6</Option>
                                    <Option value={'9'}>9</Option>
                                    <Option value={'12'}>12</Option>
                                    <Option value={'18'}>18</Option>
                                    <Option value={'24'}>24</Option>
                                    <Option value={'36'}>36</Option>
                                </Select>)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="手续费率">
                                {getFieldDecorator('feeRate', {
                                    initialValue: businessDetails.feeRate,
                                    rules: [{
                                        required: true, message: '请输入手续费率',
                                    }],
                                })(<InputNumber
                                    style={{ width: '100%' }}
                                    placeholder="请输入手续费率"
                                    disables={disables} 
                                    min={0}
                                    max={100}
                                    formatter={value => `${value}%`}
                                    parser={value => value.replace('%', '')} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="手续费">
                                {getFieldDecorator('feeAmt', {
                                    initialValue: businessDetails.feeAmt,
                                    rules: [{
                                        required: true, message: '请输入手续费',
                                    }],
                                })(<Input placeholder="请输入手续费" disables={disables} />)}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="是否抵押">
                                {getFieldDecorator('isAmort', {
                                    initialValue: businessDetails.isAmort,
                                    rules: [{
                                        required: true, message: '请选择是否抵押',
                                    }],
                                })(<Select placeholder="请选择是否抵押" disables={disables}>
                                    <Option value={'1'}>是</Option>
                                    <Option value={'0'}>否</Option>
                                </Select>)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="抵押物详情">
                                {getFieldDecorator('amortDetail', {
                                    initialValue: businessDetails.amortDetail,
                                    rules: [{
                                        required: true, message: '请输入抵押物详情',
                                    }],
                                })(<Input placeholder="请输入抵押物详情" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="抵押权证号码">
                                {getFieldDecorator('amortNum', {
                                    initialValue: businessDetails.amortNum,
                                })(<Input placeholder="请输入抵押权证号码" disables={disables} />)}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="是否担保">
                                {getFieldDecorator('isAssure', {
                                    initialValue: businessDetails.isAssure,
                                    rules: [{
                                        required: true, message: '请选择是否担保',
                                    }],
                                })(<Select placeholder="请选择是否担保" disables={disables}>
                                    <Option value={'0'}>是</Option>
                                    <Option value={'1'}>否</Option>
                                </Select>)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="担保单位">
                                {getFieldDecorator('assureCorp', {
                                    initialValue: businessDetails.assureCorp,
                                })(<Input placeholder="请输入担保单位" disables={disables} />)}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="保证金账号">
                                {getFieldDecorator('assureAccount', {
                                    initialValue: businessDetails.assureAccount,
                                })(<Input placeholder="请输入保证金账号" disables={disables} />)}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={16}>
                        <Col lg={6} md={12} sm={24}>
                            <Form.Item label="合作机构名称">
                                {getFieldDecorator('coName', {
                                    initialValue: businessDetails.coName,
                                })(<Input placeholder="请输入合作机构名称" disables={disables} />)}
                            </Form.Item>
                        </Col>

                        <Col xl={{ span: 6, offset: 2 }} lg={{ span: 8 }} md={{ span: 12 }} sm={24}>
                            <Form.Item label="手续费收取方式">
                                {getFieldDecorator('feeMode', {
                                    initialValue: businessDetails.feeMode,
                                    rules: [{
                                        required: true, message: '请选择手续费收取方式',
                                    }],
                                })(<Select placeholder="请选择手续费收取方式" disables={disables}>
                                    <Option value={'0'}>首期收取</Option>
                                    <Option value={'1'}>分期收取</Option>
                                </Select>
                                )}
                            </Form.Item>
                        </Col>
                        <Col xl={{ span: 8, offset: 2 }} lg={{ span: 10 }} md={{ span: 24 }} sm={24}>
                            <Form.Item label="银行客户经理">
                                {getFieldDecorator('tellerNum', {
                                    initialValue: businessDetails.tellerNum,
                                    rules: [{
                                        required: true, message: '请选择银行客户经理',whitespace: true
                                    }],
                                })(<Select placeholder="请选择银行客户经理" disables={disables}>
                                    {riskCustManager && this.renderOption(riskCustManager)}
                                </Select>)}
                            </Form.Item>
                        </Col>
                    </Row>

                    <Row gutter={6}>
                        <Col md={14} sm={24}>
                            <Form.Item label="备注">
                                {getFieldDecorator('note', {
                                    initialValue: businessDetails.note,
                                })(<TextArea placeholder="请输入备注" rows="4" disables={disables} />)}
                            </Form.Item>
                        </Col>
                    </Row>
                </Form>
            </Card>
        );
    }
}